/**
 * @package com.shm.utils
 * @Author White
 * @Date 2019/11/24
 * @version V1.0
 */
package com.white.shm.utils;

/**
 * @ClassName: Constant
 * @Description: 常量
 * @Author White
 * @Date 2019/11/24
 */
public class Constant {

    public class Service {
        private Service() {
        }

        /**
         *
         */
        public static final String CMDID = "cmdid";
        /**
         * 错误码
         */
        public static final String ERRORCODE = "errorcode";
        /**
         * 错误描述
         */
        public static final String ERRORDESC = "errordesc";
    }

    public class SessionAttributeName {

        public final static String REGCODE = "regCode";            //注册验证码
        public final static String CURRENTUSER = "currentUser";    //当前登录用户
        public final static String ADMIN = "admin";                //管理员
        public final static String WORDS = "words";                //聊天记录
        public static final String USERLIST = "userList";            //用户列表
        public static final String GOODSINFO = "goodsInfo";            //商品信息
        public static final String GoodsList = "goodsList";            //搜索商品信息

    }
}
